function ShowNotes() {
  uid = document.getElementById('uid').value;
  rand = document.getElementById('rand').value;
  url = '/cgi-bin/widesktop/pnotes.py?mode=show&uid='+uid+'&rand='+rand;
  app='Notes';
  loadXMLDoc(url,3);
}
function ShowAddNote(note) {
  uid = document.getElementById('uid').value;
  rand = document.getElementById('rand').value;
  app='Notes';
  if (typeof note=='undefined') {
    url = '/cgi-bin/widesktop/pnotes.py?mode=add&uid='+uid+'&rand='+rand;
  } else {
    url = '/cgi-bin/widesktop/pnotes.py?mode=add&note='+note+'&uid='+uid+'&rand='+rand;
  }
  loadXMLDoc(url,3)
}
function RemoveNote(note) {
if(confirm('Are you sure you want to delete this note?')) alert(note); 
}
function SaveNote() {
  alert('Save!!!');
}
